
#ifndef _MEMBER_BCOMBOITEM_H_
#define _MEMBER_BCOMBOITEM_H_

#include <ctime>
#include <BRect>
#include <BComboItem>
#include "ILineBlock.h"

#define item_member(comboitem)		((member_BComboItem*)((BComboItem*)comboitem)->_ptr)

namespace BWE
{
	class BComboBox;
	class member_BComboItem
	{
	public:
		member_BComboItem(BComboItem* boss);
		~member_BComboItem();

		BComboItem*		boss;
		BComboBox*		combo;
		BIconHolder		icon;
		BImageHolder	image;
		Graph			graph;
		BColor			color;
		BString			text;
		BValue			value;

		bool			dirty;
		BString			t_text;
		BRect			rect;
		BRect			iconRect;
		BSize			textSize;
		BRect			textRect;
	};
}

#endif
